#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2021/8/19 10:54
# @Author  : 李中华
# @Email   : 1260429766@qq.com
# @File    : skipskipifxfail1.py

import pytest

@pytest.mark.skip(reason='跳过')
def test_0():
    print('0')

@pytest.mark.skipif(A == 'a', reason='跳过')
def test_1():
    print('1')

A = 'a'
@pytest.mark.skipif(A == 'a', reason='跳过')
def test_1():
    print('1')


def test_2():
    print('2')
